fix: replace catch (error: any) with unknown and type guards in stell…#115
Conversation
|
@abdesigns1 is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@abdesigns1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
resolve conflicts |
|
Merge conflict resolved and branch updated. Ready for review! |
|
kindly resolved conflict |
|
fix merge conflicts |
f7f5ae6 to
b087ecb
Compare
|
Hi @Smartdevs17, merge conflicts have been resolved, and the branch is up to date. |
|
|
b087ecb to
22ca73e
Compare
|
Conflicts resolved and branch updated. Kindly review on time before others start working on the file to avoid another conflict |
Closes #30
Changes
catch (error: any)withcatch (error: unknown)instellar.service.tsinstanceof Errortype guard before accessing.message.responseproperty'Unknown error'for non-Error throwsTesting
npx tsc --noEmitpasses with no errorsnpx eslint src/services/stellar.service.tsreturns 0 errors